<com:TPanel CssClass="portlet">
	<com:TPanel Visible="<%=$this->User->Id%>" Enabled="<%=$this->User->Id%>" CssClass="accountportlet" GroupingText="<%[Account]%>">
		<p><%[Welcome]%> <b><%= $this->User->Name %></b>!</p>
		<ul>
			<li><a href="<%= $this->Service->constructUrl('System.ViewUser',array('id'=>$this->User->Id)) %>"><%[Profile]%></a></li>
			<li><a href="<%= $this->Service->constructUrl('System.DeleteUser',array('id'=>$this->User->Id)) %>"><%[Delete profile]%></a></li>
			<li><a href="<%= $this->Service->constructUrl('Logout') %>"><%[Logout]%></a></li>
		</ul>
	</com:TPanel>
	<com:TPanel Visible="<%=$this->User->IsGuest%>" Enabled="<%=$this->User->IsGuest%>" CssClass="accountportlet" GroupingText="<%[Account]%>">
		<p><%[Welcome]%> <b><%= $this->User->Name %></b>!</p>
		<a href="<%= $this->Service->constructUrl('System.Login') %>"><%[Login]%></a>
	</com:TPanel>
</com:TPanel>
